package com.aiti.lulian.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 招募单实体类
 *
 * @author diaozhende
 * @email diaozhende@163.com
 * @date 2024-06-12 15:11:31
 */
@Data
@TableName("show_supplier_inquiry_order")
public class LuLianSupplierInquiryOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID（主键）
     */
    @TableId(value = "base_id", type = IdType.ASSIGN_ID)
    private String baseId;

    /**
     * 标题
     */
    @TableField("base_name")
    private String baseName;

    /**
     * 计划采购物品
     */
    @TableField("plan_purchase_goods")
    private String planPurchaseGoods;

    /**
     * 一级类目ID
     */
    @TableField("first_category_id")
    private String firstCategoryId;

    /**
     * 二级类目ID
     */
    @TableField("second_category_id")
    private String secondCategoryId;

    /**
     * 三级类目ID
     */
    @TableField("thrid_category_id")
    private String thridCategoryId;

    /**
     * 报名截止日期类型:1、长期有效，2、自定义时间
     */
    @TableField("signup_deadline_date_type")
    private String signupDeadlineDateType;

    /**
     * 报名截止日期
     */
    @TableField("signup_deadline_date")
    private Date signupDeadlineDate;

    /**
     * 其他补充内容，文件url，多个用,隔开
     */
    @TableField("other_content")
    private String otherContent;

    /**
     * 其他要求
     */
    @TableField("remarks")
    private String remarks;

    /**
     * 附件url，多个用,隔开
     */
    @TableField("attachment")
    private String attachment;

    /**
     * 是否热门:1、是，0、否
     */
    @TableField("is_hot")
    private String isHot;

    /**
     * 是否停用：0、否，1：是
     */
    @TableField("is_del")
    private String isDel;

    /**
     * 是否已截止（条件查询字段）：0、否，1：是
     */
    @TableField(exist = false)
    private String isExpired;

    /**
     * 创建日期
     */
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;

    /**
     * 创建者
     */
    @TableField("creator")
    private String creator;

    /**
     * 修改日期
     */
    @TableField(value = "base_update_time", fill = FieldFill.UPDATE)
    private Date baseUpdateTime;

    /**
     * 修改者
     */
    @TableField("update_by")
    private String updateBy;

    /**
     * 采购商要求
     */
    @TableField("purchaser_require")
    private String purchaserRequire;

    /**
     * 供应商要求
     */
    @TableField(exist = false)
    private LuLianSupplierInquiryOrderRequest supplierInquiryOrderRequest;

    /**
     * 物品list
     */
    @TableField(exist = false)
    private List<LuLianSupplierInquiryOrderGoods> goodsDataList;

    /**
     * 附件list
     */
    @TableField(exist = false)
    private List<LuLianSupplierInquiryOrderAttachment> fileList;

    @TableField(exist = false)
    private String firstCategoryLabel;

    @TableField(exist = false)
    private List<String> firstCategoryIds;

    @TableField(exist = false)
    private String isDocUrl;

    @TableField(exist = false)
    private String baseCreateTimeStr;

    @TableField(exist = false)
    private int signUpCount;

    @TableField(exist = false)
    private String enterpriseName;

    /**
     * 点击量
     */
    @TableField("click")
    private Integer click;
}